package com.gzsxy.utils;


import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author zxl
 * @date 2021/7/26
 */
public class OmsNodeInfo implements Serializable {

    private Integer id;
    /**
     * name 对象名称
     */
    private String name;
    /**
     * typeId 对象类型
     */
    private Integer typeId;
    /**
     * topoVisible
     * 拓扑可见性 1:可见，0：隐藏拓扑可见性 1:可见，0：隐藏
     */
    private Integer topoVisible;
    /**
     * topoIco 图标路径
     */
    private String topoIco;
    /**
     * parentId
     * 默认-1，参照研究院的表
     */
    private Integer parentId;
    /**
     * topoX 拓扑位置x
     */
    private Double topoX;
    /**
     * topoY 拓扑位置y
     */
    private Double topoY;
    /**
     * onlineStatus
     * 在线状态（0：在线 1：不在线）
     */
    private Integer onlineStatus;
    /**
     * alarmStatus 对象名称
     * 告警状态（0：无告警 1：一般告警 2：重要告警 3：紧急告警）
     */
    private Integer alarmStatus;
    /**
     * orgCode 部门编码
     */
    private String orgCode;
    /**
     * areaId 区域编码
     */
    private Integer areaId;
    /**
     * systemId 所属系统id
     */
    private Integer systemId;
    /**
     * collectType 收集类型
     */
    private Integer collectType;
    /**
     * collectParam 收集参数
     */
    private String collectParam;
    /**
     * zoneCode 域编码
     */
    private String zoneCode;
    /**
     * secondType 第二特征类型
     */
    private Integer secondType;
    /**
     * location 所在位置
     */
    private String location;
    /**
     * syncFlag 同步标识
     */
    private Integer syncFlag;
    /**
     * collectTime 上次收集时间
     */
//  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date collectTime;
    /**
     * createTime 创建时间
     */
    private Date createTime;
    /**
     * monitorEnabled
     * 是否启用监控  0：不启用 1：启用
     */
    private Integer monitorEnabled;
    /**
     * alarmEnabled
     * 是否开启告警 0:不开启 1：开启
     */
    private Integer alarmEnabled;
    /**
     * extralMark
     * 额外备注：暂时提供docker服务使用
     */
    private String extralMark;
    /**
     * deleted
     * 是否删除 0未删除，1已删除
     */
    private Integer deleted;
    /**
     * collectError 收集异常信息
     */
    private String collectError;
    /**
     * errorCollectType 运维对象表
     */
    private Integer errorCollectType;


    public OmsNodeInfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getTopoVisible() {
        return topoVisible;
    }

    public void setTopoVisible(Integer topoVisible) {
        this.topoVisible = topoVisible;
    }

    public String getTopoIco() {
        return topoIco;
    }

    public void setTopoIco(String topoIco) {
        this.topoIco = topoIco;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Double getTopoX() {
        return topoX;
    }

    public void setTopoX(Double topoX) {
        this.topoX = topoX;
    }

    public Double getTopoY() {
        return topoY;
    }

    public void setTopoY(Double topoY) {
        this.topoY = topoY;
    }

    public Integer getOnlineStatus() {
        return onlineStatus;
    }

    public void setOnlineStatus(Integer onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    public Integer getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(Integer alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Integer getCollectType() {
        return collectType;
    }

    public void setCollectType(Integer collectType) {
        this.collectType = collectType;
    }

    public String getCollectParam() {
        return collectParam;
    }

    public void setCollectParam(String collectParam) {
        this.collectParam = collectParam;
    }

    public String getZoneCode() {
        return zoneCode;
    }

    public void setZoneCode(String zoneCode) {
        this.zoneCode = zoneCode;
    }

    public Integer getSecondType() {
        return secondType;
    }

    public void setSecondType(Integer secondType) {
        this.secondType = secondType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getSyncFlag() {
        return syncFlag;
    }

    public void setSyncFlag(Integer syncFlag) {
        this.syncFlag = syncFlag;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMonitorEnabled() {
        return monitorEnabled;
    }

    public void setMonitorEnabled(Integer monitorEnabled) {
        this.monitorEnabled = monitorEnabled;
    }

    public Integer getAlarmEnabled() {
        return alarmEnabled;
    }

    public void setAlarmEnabled(Integer alarmEnabled) {
        this.alarmEnabled = alarmEnabled;
    }

    public String getExtralMark() {
        return extralMark;
    }

    public void setExtralMark(String extralMark) {
        this.extralMark = extralMark;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getCollectError() {
        return collectError;
    }

    public void setCollectError(String collectError) {
        this.collectError = collectError;
    }

    public Integer getErrorCollectType() {
        return errorCollectType;
    }

    public void setErrorCollectType(Integer errorCollectType) {
        this.errorCollectType = errorCollectType;
    }


    public OmsNodeInfo(Integer id, String name, Integer typeId, Integer topoVisible, String topoIco, Integer parentId, Double topoX, Double topoY, Integer onlineStatus, Integer alarmStatus, String orgCode, Integer areaId, Integer systemId, Integer collectType, String collectParam, String zoneCode, Integer secondType, String location, Integer syncFlag, Date collectTime, Date createTime, Integer monitorEnabled, Integer alarmEnabled, String extralMark, Integer deleted, String collectError, Integer errorCollectType) {
        this.id = id;
        this.name = name;
        this.typeId = typeId;
        this.topoVisible = topoVisible;
        this.topoIco = topoIco;
        this.parentId = parentId;
        this.topoX = topoX;
        this.topoY = topoY;
        this.onlineStatus = onlineStatus;
        this.alarmStatus = alarmStatus;
        this.orgCode = orgCode;
        this.areaId = areaId;
        this.systemId = systemId;
        this.collectType = collectType;
        this.collectParam = collectParam;
        this.zoneCode = zoneCode;
        this.secondType = secondType;
        this.location = location;
        this.syncFlag = syncFlag;
        this.collectTime = collectTime;
        this.createTime = createTime;
        this.monitorEnabled = monitorEnabled;
        this.alarmEnabled = alarmEnabled;
        this.extralMark = extralMark;
        this.deleted = deleted;
        this.collectError = collectError;
        this.errorCollectType = errorCollectType;
    }

    @Override
    public String toString() {
        return "TbOmsNodeInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", typeId=" + typeId +
                ", topoVisible=" + topoVisible +
                ", topoIco='" + topoIco + '\'' +
                ", parentId=" + parentId +
                ", topoX=" + topoX +
                ", topoY=" + topoY +
                ", onlineStatus=" + onlineStatus +
                ", alarmStatus=" + alarmStatus +
                ", orgCode='" + orgCode + '\'' +
                ", areaId=" + areaId +
                ", systemId=" + systemId +
                ", collectType=" + collectType +
                ", collectParam='" + collectParam + '\'' +
                ", zoneCode='" + zoneCode + '\'' +
                ", secondType=" + secondType +
                ", location='" + location + '\'' +
                ", syncFlag=" + syncFlag +
                ", collectTime=" + collectTime +
                ", createTime=" + createTime +
                ", monitorEnabled=" + monitorEnabled +
                ", alarmEnabled=" + alarmEnabled +
                ", extralMark='" + extralMark + '\'' +
                ", deleted=" + deleted +
                ", collectError='" + collectError + '\'' +
                ", errorCollectType=" + errorCollectType +
                '}';
    }

    public void insert(OmsNodeInfo omsNodeInfo) {
    }
}
